using B.S.NewMedical.Api.Read.DTOS.Carousel;
using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Read.Application.Command.ContentManagement.Carousel
{
    /// <summary>
    /// 根据ID获取轮播图命令
    /// </summary>
    public class GetCarouselByIdCommand : IRequest<ApiResult<CarouselDto>>
    {
        /// <summary>
        /// 轮播图ID
        /// </summary>
        public int Id { get; set; }

        public GetCarouselByIdCommand(int id)
        {
            Id = id;
        }
    }
}